package com.atguigu.lease.web.app.service;

import com.atguigu.lease.model.entity.BrowsingHistory;
import com.atguigu.lease.web.app.vo.history.HistoryItemVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author liubo
 * @description 针对表【browsing_history(浏览历史)】的数据库操作Service
 * @createDate 2023-07-26 11:12:39
 */
public interface BrowsingHistoryService extends IService<BrowsingHistory> {

    /**
     * 获取浏览历史
     *
     * @param current 当前页
     * @param size    页大小
     * @param userId 当前登录的用户id
     * @return 浏览历史详细信息
     */
    IPage<HistoryItemVo> pageHistroyItemVo(long current, long size, Long userId);
}
